package fun.tan90.easy.binlog.plugin.mqtt.model;

import fun.tan90.easy.binlog.plugin.common.model.OutputParam;
import lombok.Data;

/**
 * description TODO
 * company 铁人科技
 *
 * @author 陈浩杰
 * @date 2023/9/4 16:57
 */
@Data
public class MqttClientParam implements OutputParam {

    /**
     * broker地址
     */
    private String broker;

    /**
     * 客户端ID前缀
     */
    private String clientIdPrefix;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * MQTT_VERSION_3_1 : 3;
     * MQTT_VERSION_3_1_1 : 4;
     */
    private int mqttVersion;

    /**
     * 心跳时间间隔，单位秒
     */
    private int keepAliveInterval;
}
